package com.health.service.Impl;

import com.health.entity.UsersAccount;
import com.health.mapper.UsersAccountMapper;
import com.health.service.UsersAccountService;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
import org.springframework.stereotype.Service;

@Service
public class UsersAccountServiceImpl implements UsersAccountService {

    @Autowired
    private UsersAccountMapper usersAccountMapper;

    @Override
    public UsersAccount getById(Long id) {

        UsersAccount u = usersAccountMapper.getById(id);

        return u;
    }
}
